<?php /* Smarty version 2.6.26, created on 2013-08-27 04:54:38
         compiled from news_category.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'l', 'news_category.tpl', 6, false),array('modifier', 'thumb', 'news_category.tpl', 7, false),array('modifier', 'date_format', 'news_category.tpl', 12, false),array('modifier', 'escape', 'news_category.tpl', 13, false),)), $this); ?>
<div class="eight column pull-left">
	<div class="news-category">
		<?php $_from = $this->_tpl_vars['aNews']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['news']):
?>
		<?php if ($this->_tpl_vars['id'] == 0): ?>
			<div class="news-main-item border clearfix">
				<a class="news-thumb fl" href="<?php echo ((is_array($_tmp='news/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['news']['news_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['news']['news_id'])); ?>
">
					<img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['news_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'h300') : smarty_modifier_thumb($_tmp, 'h300')); ?>
" />
				</a>
				
				<div class="news-info">
					<h1 class="title"><a href="<?php echo ((is_array($_tmp='news/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['news']['news_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['news']['news_id'])); ?>
"><?php echo $this->_tpl_vars['news']['news_title']; ?>
</a></h1>
					<p class="created"><?php echo ((is_array($_tmp=$this->_tpl_vars['news']['news_created'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y %H:%I") : smarty_modifier_date_format($_tmp, "%d/%m/%Y %H:%I")); ?>
</p>
					<p class="news-desc"><?php echo ((is_array($_tmp=$this->_tpl_vars['news']['news_desc'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</p>
					
					<div><a class="detail" href="<?php echo ((is_array($_tmp='news/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['news']['news_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['news']['news_id'])); ?>
">Xem chi tiết</a></div>
				</div>
			</div>
			<div class="news-other border">
		<?php else: ?>
			<div class="news-item clearfix">
				<a class="news-thumb fl" href="<?php echo ((is_array($_tmp='news/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['news']['news_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['news']['news_id'])); ?>
">
					<img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['news']['news_thumb'])) ? $this->_run_mod_handler('thumb', true, $_tmp, 'h160') : smarty_modifier_thumb($_tmp, 'h160')); ?>
" />
				</a>
				
				<div class="news-info">
					<h2 class="title"><a href="<?php echo ((is_array($_tmp='news/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['news']['news_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['news']['news_id'])); ?>
"><?php echo $this->_tpl_vars['news']['news_title']; ?>
</a></h2>
					<p class="created"><?php echo ((is_array($_tmp=$this->_tpl_vars['news']['news_created'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y %H:%I") : smarty_modifier_date_format($_tmp, "%d/%m/%Y %H:%I")); ?>
</p>
					<p class="news-desc"><?php echo ((is_array($_tmp=$this->_tpl_vars['news']['news_desc'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</p>
					
					<div><a class="detail" href="<?php echo ((is_array($_tmp='news/detail/%d')) ? $this->_run_mod_handler('l', true, $_tmp, $this->_tpl_vars['news']['news_id']) : smarty_modifier_l($_tmp, $this->_tpl_vars['news']['news_id'])); ?>
">Xem chi tiết</a></div>
				</div>
			</div>
		<?php endif; ?>
		<?php endforeach; else: ?>
		<p style="text-align: center;">Không có tin nào trong mục này</p>
		<?php endif; unset($_from); ?>
		
		</div>
	</div>
</div>
<div class="four column pull-right">
	<div class="news-banner-right"><a href="<?php echo $this->_tpl_vars['news_banner_right_link']; ?>
"><img src="<?php echo ((is_array($_tmp=$this->_tpl_vars['news_banner_right'])) ? $this->_run_mod_handler('thumb', true, $_tmp, '') : smarty_modifier_thumb($_tmp, '')); ?>
" /></a></div>
</div>